import pandas as pd
from src.core.subsidies.generate_subsidies import generate_subsidies

def subsidies():
    try:
        subsidies_df = pd.read_csv('data/subsidies.csv')
    except:
        generate_subsidies()
        subsidies_df = pd.read_csv('data/subsidies.csv')
    return subsidies_df.to_dict('records')